package com.hnichr.ump.common.salon.service;

import com.hnichr.ump.common.salon.entity.SalonInfo;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.system.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface SalonInfoService extends BaseService<SalonInfo> {
    SalonInfo getById(String id);
    SalonInfo add(SalonInfo salonInfo);
    void remove(String ids);
    List<SalonInfo> list(Criteria c);

    Page<SalonInfo> listPage(Pageable page, Criteria c);
}
